<?php

$mes = file_get_contents('url.txt');
$config =$mes = explode("\r\n",$mes);
$weburl = $config[0];
$conf = require 'conf.php';

echo " <script>var url ='$weburl';</script> ";
?>
<!DOCTYPE html>
<html lang="zh" style="font-size:100px;">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="renderer" content="webkit" />
    <script type='text/javascript' src="js/mobile.js"></script>
    <!-- 商务版才有调用jssdk功能 线上分销测试8458545-172358 8462637-172754   4073964ty template-->
    <title>
        <?=$conf['title']?>
    </title>
    <meta content="width=device-width, minimum-scale=0.5,maximum-scale=1, initial-scale=1, user-scalable=no" name="viewport" servergenerated="true"/>
    <!-- <meta name="viewport" id="viewport" content="width=1080, minimum-scale=1, initial-scale=1"> -->
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="aplus-xplug" content="NONE">
    <meta name="spm-id" content="a21bo">
    <meta name="screen-orientation" content="portrait">
    <meta name="x5-orientation" content="portrait">
    <meta name="format-detection" content="telephone=no" />
    <meta name="twitter:image" content="/img/noImg3.jpg" />
    <link rel="apple-touch-icon" sizes="180x180" href="img/apple-touch-icon-180x180.png">
    <link rel="icon" type="image/png" href="img/android-chrome-192x192.png" sizes="192x192">
    <meta name="msapplication-TileColor" content="#da532c">
    <meta name="msapplication-TileImage" content="img/mstile-144x144.png">
    <link href="/css/flyerAnimation.min.css" rel="stylesheet" type="text/css" />
    <link href="/css/comm.min.css" rel="stylesheet" type="text/css" />
    <link href="/css/flyer.min.css" rel="stylesheet" type="text/css" />
</head>
<body style="position:relative;" >
<!--微信分享  300×300-->
<div class="loadingPage f_DNSTraffic" id="loadingPage">
    <div id="loading" class="loading"></div>
</div>
<div id="mobiPage" class="mobiPage f_DNSTraffic">
    <div id="pageContent" class="page_content swiper-container" style="height: -webkit-calc(100% + 1px);">
        <div class="swiper-wrapper" id="flyer-swiper-wrapper">
        </div>
        <div id="flyer_page_bar" class="swiper-pagination"></div>
    </div>
</div>

<div id="productDetailLinkPanel" class="productDetailLinkPanel f_DNSTraffic" style="display:none;">

    <div class="productMarkClose"></div>
</div>
<div id="rotateTipsPanel" class="rotateTipsPanel f_DNSTraffic" style="display:none;">
</div>
</body>

<script type="text/javascript">



    if(typeof Flyer == 'undefined' || typeof Flyer.top == 'undefined'){
        if(typeof Flyer == 'undefined'){
            Flyer = {};
        }
        try {
            if(!1){
                Flyer.top = window;
            }else{
                Flyer.top = top;
            }
            Flyer.top.test = 1;
        } catch (err) {
            Flyer.top = window;
        }
    }

    var loadingSetting = {"loadingAniType":1,"color":"#f6bb42","normalMode":{"bgColor":"#ffffff","bgPicId":"","bgType":0,"top":"15%","tmpNormalBgPicPath":""},"logoMode":{"bgColor":"#ffffff","bgPicId":"","bgType":0,"logo":{"picId":"","top":"15%","width":"28%","height":"17%","color":"#4A89DC","aniType":0,"speed":"1s","wtoh":"1.0","htow":"1.0","tmpLogoPicPath":""},"progressBar":{"type":5,"top":"37%","color":"#999999"},"templateType":0,"tmpLogoBgPicPath":""},"freeMode":{"templateType":0}};
    Flyer._updateTimeStamp = 1509160559775;
    Flyer._loadingSetting = {"loadingAniType":1,"color":"#f6bb42","normalMode":{"bgColor":"#ffffff","bgPicId":"","bgType":0,"top":"15%","tmpNormalBgPicPath":""},"logoMode":{"bgColor":"#ffffff","bgPicId":"","bgType":0,"logo":{"picId":"","top":"15%","width":"28%","height":"17%","color":"#4A89DC","aniType":0,"speed":"1s","wtoh":"1.0","htow":"1.0","tmpLogoPicPath":""},"progressBar":{"type":5,"top":"37%","color":"#999999"},"templateType":0,"tmpLogoBgPicPath":""},"freeMode":{"templateType":0}};
    Flyer._loadingSetting.loadingAniType =  1 || 0 ;
    Flyer._loadingSetting.color = Flyer._loadingSetting.color || "#4a68ec";
    Flyer._gfwSwitch = {"compareTimestamp":1508839966000,"interactionSwitch":0,"voteMangeSwitch":0,"votePreSwitch":0,"wxSwitch":0,"manageNoticeWord":"为营造和谐安全的网络环境，提升用户体验，该功能近期正快马加鞭升级中，请耐心等待，造成不便敬请原谅！","previewNoticeWord":"为保障网络安全，该功能近期正在升级维护中，敬请期待！"};

    Flyer._loadingType  = 1 || 0 ;
    Flyer._loadingColor = loadingSetting.color || "#4a68ec" ;
    Flyer._isLowVersion = false
    Flyer._isOemTriVersion = false
    if(Flyer._isLowVersion&&Flyer._isOemTriVersion){
        Flyer._loadingType = Flyer._loadingType <= 0 ? 1: Flyer._loadingType;
    }else if(Flyer._isLowVersion && !Flyer._isOemTriVersion && !true){
        Flyer._loadingType = 0;
    }

    Flyer.pageLogoImgSrc = "/img/ADIIABAEGAAgg_vPzwUomMylfjCABTjwBw!450x450.png";
    Flyer.top._isPreview = false;
    //判断是否来自PC，是否调用箭头滑动的方法。
    Flyer.top._isFromPC = /Android|webOS|iPhone|iPad|iPod|BlackBerry|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)? false: true;
    Flyer._ta = 0;
    Flyer._aid = 1864421;
    Flyer._faiscoAid = 12259034;
    Flyer._fid = 107;
    Flyer._identifier = "1osn5Z3b";
    Flyer.top._showLoading = 1;

    Flyer._flyerOtherSetting = Flyer._flyerOther.setting;
    Flyer._flyerRegedTitle = {"title":"醇富国际"};
    //Flyer._flyerBaseTitle = {"title":"醇富国际"};
    Flyer._pvCount = 131;
    Flyer._flyerOtherBulletParam = Flyer._flyerOther.bulletparam;
    Flyer._flyerOtherOperatorParam = Flyer._flyerOther.operatorParam;

    Flyer._flyerType = 0; //传单类型 大于10代表是参加了H5大赛之类的传单
    Flyer._flyerVersion = 2; //传单版本 0 免费版 1 商务版 ，分销 110 试用 120 高级
    Flyer._isLowVersion = false;//低级版本
    Flyer._pageEffect = 0;
    Flyer._webDebug = false;

    Flyer._userInfo_not = {};
    Flyer._userInfo = {};
    Flyer._shareUserInfo = {};
    Flyer._shareLevel = 0;
    //比较分享人和访问人用
    Flyer._flyerWXUserId = {userId:0,shareUserId:0};
    Flyer._slv = 0;
    Flyer._fromType = "null";
    Flyer._chnlId = "";
    Flyer._tfriendId = "";
    Flyer._fromQrCode = "";

    if(Flyer._templateData.length == 1) {
        Flyer._flyerOther.loopSlide = false;
    }
    Flyer._slideBar = {
        flyerSlideLoop:Flyer._flyerOther.loopSlide,
        flyerSlideBar:Flyer._flyerOther.slideBar,
        flyerSlideBarColor:Flyer._flyerOther.slideBarColor,
        flyerSlideIdx:Flyer._flyerOther.slideIdx
    };

    Flyer.wx_openId = "";
    Flyer.wx_openId = Flyer.wx_openId || (localStorage.getItem('wx_openId') ? localStorage.getItem('wx_openId') : '');
    localStorage.setItem('wx_openId', Flyer.wx_openId);

    //对openid的最后一个字符串做取模处理，用户统计A\B测
    var tmpStrNum;
    if(Flyer.wx_openId != "") {
        var tmpStr = Flyer.wx_openId.charAt(Flyer.wx_openId.length - 1);
        tmpStrNum = tmpStr.charCodeAt();
    }

    //点击投诉才getopenid的优化，先注释 dms   =getOpenIdFromCookie%>
    //Flyer.wx_only_openId = "getOpenIdFromCookie%>";
    //Flyer._isAClassUser = isNaN(tmpStrNum) ? true : (tmpStrNum % 2 == 0);

    //做A/B测试  随机
    if(!localStorage.flyerABTestRandom){
        localStorage.setItem("flyerABTestRandom", Math.ceil(Math.random()*2)%2);
    }
    Flyer.flyerABTestRandom = parseInt(localStorage.flyerABTestRandom);
    Flyer._isAClassUser = (Flyer.flyerABTestRandom == 0) ? true : false;

    if(Flyer._faiscoSite === "http://"){
        Flyer._faiscoSite = location.href;
    }

    //Flyer._openCommercial = Flyer._flyerOtherSetting.technical || Flyer._isLowVersion;

    Flyer._openCommercial = (!true);

    Flyer.hasLoadedJs = {};

    Flyer._joinContestInfo = null;

    Flyer.getQueryString = function(name) {
        var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
        var r = window.location.search.substr(1).match(reg);
        if(r!=null)return  unescape(r[2]); return null;
    };

    if( Flyer.getQueryString("webView") ) {
        var loadingPage = document.getElementById("loadingPage");
        if(loadingPage) {
            loadingPage.style.width = "100%";
            loadingPage.style.height = "100%";
        }
    }
</script>
<script type='text/javascript' src="/js/jquery-core.min.js"></script>
<script type='text/javascript' src="js/flyerLoaded.min.js"></script>
<script type='text/javascript' src="/js/iscroll.min.js"></script>
<script type='text/javascript' crossorigin="anonymous" src="/js/flyer.min.js" ></script>
</html>

